package com.inspection.service;

import com.inspection.entity.InspectionRegulationDO;
import com.inspection.model.dto.InspectionRegulationDTO;
import com.inspection.model.dto.InspectionRegulationQueryDTO;
import com.inspection.support.model.DataTree;
import org.springframework.data.domain.Page;

import java.util.List;

public interface InspectionRegulationService {



   List<InspectionRegulationDO> queryRegulation(InspectionRegulationQueryDTO query);

   void saveRegulation(InspectionRegulationDTO save);

   Page<InspectionRegulationDO> pageRegulation(InspectionRegulationQueryDTO page);

   DataTree getRegulationTree(InspectionRegulationQueryDTO query);

   void updateRegulation(InspectionRegulationDTO update);

   void delRegulation(InspectionRegulationDTO del);

   InspectionRegulationDO getRegulation(InspectionRegulationDTO query);
}
